package Messages;

import java.util.Vector;

import DataObjects.Payment;

public class MessageAddNewPaymentOfTable extends Message{
	
	private Payment pay;
	
	public  MessageAddNewPaymentOfTable(Payment pay)
	{
		super(Message.MessageType.MESSAGE_ADD_NEW_PAYMENT_OF_TABLE);
		 
	 	this.pay=pay;
		 
	}

	public Payment getPay() {
		return pay;
	}

	public void setPay(Payment pay) {
		this.pay = pay;
	}

}
